<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../reset.css">
    <link rel="stylesheet" href="../fa/css/all.css">
    <style>
        .top-bar-wrapper {
            height: 30px;
            line-height: 30px;
            background-color: #ddd;
        }

        .top-bar {
            width: 1090px;
            margin: 0 auto;
            background-color: #bfa;
        }

        .top-bar a, .top-bar span {
            text-decoration: none;

            font: 12px/1.5 "微软雅黑";
            color: #999;
        }

        .top-bar li i {
            color: #999;

        }

        .location {
            float: left;
        }

        .location i {
            color: #f10215;
            position: relative;
        }

        .current-city{
            padding: 0 10px;
        }

        .current-city:hover{
            background-color: #ffffff;
        }

        .city-list {
            width: 320px;
            height: 436px;
            display: none;
            background-color: #fff;

            border: #4c4c4c solid 1px;

            border-top: none;
            box-shadow: 0 2px 2px  rgba(0, 0, 0, .2);;
            position: absolute;
        }

        .location:hover .city-list {
            display: block;
        }

        .right-bar {
            float: right;
        }

        .right-bar li {
            float: left;
        }

        .line {
            height: 10px;
            width: 1px;
            background-color: #999;
            margin: 10px 10px;
        }

        .top-bar .highlight {
            color: #f10215;
        }

        .top-bar a:hover, .top-bar span:hover {
            color: #f10215;
        }
    </style>
</head>
<body>
<div class="top-bar-wrapper">
    <div class="top-bar">
        <div class="location">
            <div class="current-city">
                <i class="fas fa-map-marker-alt"></i>
                <a href="javascript:;">北京</a>
            </div>
            <div class="city-list">

            </div>
        </div>
        <ul class="right-bar">
            <li>
                <a href="javascript:;">您好，请登录</a>
                <a class="highlight" href="javascript:;">免费注册</a>
            </li>
            <li class="line"></li>

            <li>
                <a href="javascript:;">我的订单</a>
            </li>
            <li class="line"></li>
            <li>
                <a href="javascript:;">我的京东</a>
                <i class="fas fa-angle-down"></i>
            </li>
            <li class="line"></li>
            <li>
                <a href="javascript:;">京东会员</a>
            </li>
            <li class="line"></li>
            <li>
                <a class="highlight" href="javascript:;">企业采购</a>
                <i class="fas fa-angle-down"></i>
            </li>
            <li class="line"></li>
            <li>
                <span>客服服务</span>
                <i class="fas fa-angle-down"></i>
            </li>
            <li class="line"></li>
            <li>
                <span>网站导航</span>
                <i class="fas fa-angle-down"></i>
            </li>
            <li class="line"></li>
            <li>
                <span>手机京东</span>
                <i class="fas fa-angle-down"></i>
            </li>
        </ul>
    </div>
</div>
</body>
</html>